package com.foreknow.demo5;

public class Penguin extends Pet {

    @Override
    public void toHospital() {
        this.setHealth(70);
        System.out.println("吃药，医疗");
    }

    public void sWimming(){
        System.out.println("游泳------");
    }
}
